<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="HardwareVersions" targetNamespace="http://www.codeplex.com/xsd2cs/namespaces/Test1.xsd" xmlns="http://www.codeplex.com/xsd2cs/namespaces/Test1.xsd" xmlns:mstns="http://www.codeplex.com/xsd2cs/namespaces/Test1.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:process="http://www.codeplex.com/xsd2cs/namespaces/process.xsd">
  <xs:element name="hardware-description" process:namespace="app" process:configuration-file-name="hardware.config.xml">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="hardware-versions">
          <xs:complexType>
            <xs:choice minOccurs="1" maxOccurs="unbounded">
              <!--hardware type="1" name="whatever" version ="12"-->
              <xs:element name="hardware">
                <xs:complexType>
                  <xs:attribute name="type" type="xs:int" />
                  <xs:attribute name="name" type="xs:string" />
                  <xs:attribute name="version" type="xs:int" id="_version" process:prefix="_" />
                </xs:complexType>
              </xs:element>
            </xs:choice>
          </xs:complexType>
        </xs:element>
        <xs:element name="hardware-types">
          <xs:complexType>
            <xs:choice minOccurs="1" maxOccurs="unbounded">
              <!--type id="1" name="PDA" description="All personal digital assistents should go here"/-->
              <xs:element name="type">
                <xs:complexType>
                  <xs:attribute name="id" type="xs:int" />
                  <xs:attribute name="name" type="xs:string" />
                  <xs:attribute name="description" type="xs:string" />
                </xs:complexType>
              </xs:element>
            </xs:choice>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>